<?php

namespace App\Event;

use Symfony\Contracts\EventDispatcher\Event;

/**
 * 组织架构删除事件
 * Class OrganizationRemoveEvent
 * @package App\Event
 */
class OrganizationRemoveEvent extends Event {

    public const NAME = 'organization:remove';
    protected $organization_id;

    public function __construct (int $organization_id) {
        $this->organization_id = $organization_id;
    }

    public function getOrganizationId () {
        return $this->organization_id;
    }
}